package com.example.patterns.visitor.generator;

import java.util.List;

public class ReportGenerator<T> {
	private List<T> items;
	
	public ReportGenerator(List<T> aItems){
		items = aItems;
	}
	
	public void process(IFileGenerator<T> visitor) {
		visitor.generateFile(items);
	}

}